export const baseUrlApi = (url: string) => `/wechat_official${url}`

export type ListResult<T> = {
  data: T[]
  total: number
  page: number
  pageSize: number
}

export type Result = {
  message: string
  status: number
}

export type ObjectResult<T> = {
  message: string
  status: number
  data: T
}

export type ArrayResult<T> = {
  message: string
  status: number
  data: T[]
}
